<!--
 * @Author: ChunLai
 * @Date: 2021-02-20 11:53:07
 * @LastEditTime: 2023-03-10 09:43:09
 * @Description: 
 * @FilePath: \1.new_projects\src\views\Poster\index.vue
-->
<template>
  <div>
    <ServicePoster v-if="versionType === 'service'" />
    <NewPoster v-else />
  </div>
</template>

<script>
import NewPoster from './components/NewPoster.vue';
import ServicePoster from './components/ServicePoster.vue';

export default {
  name: 'Poster',
  data() {
    return {
      versionType: 'new',
    };
  },
  components: {
    NewPoster,
    ServicePoster,
  },
  created() {
    const querys = this.$route.query;
    if (querys.clerkWorkNum) {
      this.versionType = 'service'; // ansheng&mcode=H09021 可测试
    }
  },
  methods: {},
};
</script>

<style lang="less" scoped></style>
